package cn.star.jots.user.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class UserUpdateParam {
    @ApiModelProperty(value = "用户id")
    String id;
    @ApiModelProperty(value = "用户昵称")
    String nickname;
    @ApiModelProperty(value = "出生年月")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date birthday;
    @ApiModelProperty(value = "用户性别")
    String gender;
    @ApiModelProperty(value = "用户头像")
    String avatar;
    @ApiModelProperty(value = "个性签名")
    String info;
    @ApiModelProperty(value = "用户邮箱")
    String email;
}
